package com.akjava.vocaloidtools.wavtovsq;

import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.swt.widgets.Composite;

import jp.sourceforge.akjrcp.ui.GenericParameters;
import jp.sourceforge.akjrcp.ui.param.ParamSettingList;

public class VoiceSettingList extends ParamSettingList{

	public VoiceSettingList(Composite parent, int style, String preferenceKey,
			IPreferenceStore preferenceStore, String paramKey) {
		super(parent, style, preferenceKey, preferenceStore, paramKey);
	}

	@Override
	public GenericParameters makeDefaultGenericParameters() {
	return newGenericParameters();
	}

	public static GenericParameters newGenericParameters() {
		GenericParameters paramaters=new GenericParameters();
		paramaters.set("vel", "64");
		paramaters.set("bre", "0");
		paramaters.set("bri", "64");
		paramaters.set("cle", "0");
		paramaters.set("ope", "127");
		paramaters.set("gen", "64");
		paramaters.set("por", "64");
		return paramaters;
	}

}
